package net.xumf.support.model.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ZtreeVO {

    // 标志
    private Integer id;
    // 父标志
    @JsonProperty("pId")
    private Integer pId;
    // 名
    private String name;
    // 是否打开
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Boolean open;
    // 是否已选择
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Boolean checked;
    // 是否父节点
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Boolean isParent;
}
